package com.sservice.model.entity;

import com.sservice.urp.entity.QueryCondition;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

public class OtherReceivables extends QueryCondition implements Serializable {
    private static final long serialVersionUID = -3765709559809871904L;
    private Integer id;

    private String name;

    private BigDecimal receivables;

    private BigDecimal accountReceivables;

    private String creator;

    private Date createAt;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date payTime; // 计划付款时间
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date actualPayTime; // 实际付款时间

    private String remark;

    private String verified;

    private String clienteleId;
    private String unitCode; // 统一信用代码
    private int payMethod; //付款方式
    private int payAccount; // 付款账户
    private String paperStatus; //发票状态 0 未申请，1已申请，2部分开票，3完全开票
    private String paperCom;
    private String paperAddress;
    private String paperUnitCode;
    private String paperTel;
    private String paperBank;
    private BigDecimal paperedNumber;
    private String paperAccount;
    private String statusHesuan;
    private String statusCheck;
    private String statusPay;
    private String userHesuan;
    private String userPay;
    private String userCheck;
    private Date timeHesuan;
    private Date timePay;
    private Date timeCheck;
    private String userName;
    private BigDecimal needPayCash;
    /***
     *应付
     */
    private String type; //0 应收，1应付

    public String getStatusHesuan() {
        return statusHesuan;
    }

    public void setStatusHesuan(String statusHesuan) {
        this.statusHesuan = statusHesuan;
    }

    public String getStatusCheck() {
        return statusCheck;
    }

    public void setStatusCheck(String statusCheck) {
        this.statusCheck = statusCheck;
    }

    public String getStatusPay() {
        return statusPay;
    }

    public void setStatusPay(String statusPay) {
        this.statusPay = statusPay;
    }

    public String getUserHesuan() {
        return userHesuan;
    }

    public void setUserHesuan(String userHesuan) {
        this.userHesuan = userHesuan;
    }

    public String getUserPay() {
        return userPay;
    }

    public void setUserPay(String userPay) {
        this.userPay = userPay;
    }

    public String getUserCheck() {
        return userCheck;
    }

    public void setUserCheck(String userCheck) {
        this.userCheck = userCheck;
    }

    public Date getTimeHesuan() {
        return timeHesuan;
    }

    public void setTimeHesuan(Date timeHesuan) {
        this.timeHesuan = timeHesuan;
    }

    public Date getTimePay() {
        return timePay;
    }

    public void setTimePay(Date timePay) {
        this.timePay = timePay;
    }

    public Date getTimeCheck() {
        return timeCheck;
    }

    public void setTimeCheck(Date timeCheck) {
        this.timeCheck = timeCheck;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public BigDecimal getNeedPayCash() {
        return needPayCash;
    }

    public void setNeedPayCash(BigDecimal needPayCash) {
        this.needPayCash = needPayCash;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public BigDecimal getReceivables() {
        return receivables;
    }

    public void setReceivables(BigDecimal receivables) {
        this.receivables = receivables;
    }

    public BigDecimal getAccountReceivables() {
        return accountReceivables;
    }

    public void setAccountReceivables(BigDecimal accountReceivables) {
        this.accountReceivables = accountReceivables;
    }

    public String getCreator() {
        return creator;
    }

    public void setCreator(String creator) {
        this.creator = creator == null ? null : creator.trim();
    }

    public Date getCreateAt() {
        return createAt;
    }

    public void setCreateAt(Date createAt) {
        this.createAt = createAt;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

    public String getVerified() {
        return verified;
    }

    public void setVerified(String verified) {
        this.verified = verified == null ? null : verified.trim();
    }

    public String getClienteleId() {
        return clienteleId;
    }

    public void setClienteleId(String clienteleId) {
        this.clienteleId = clienteleId == null ? null : clienteleId.trim();
    }

    public Date getPayTime() {
        return payTime;
    }

    public void setPayTime(Date payTime) {
        this.payTime = payTime;
    }

    public int getPayMethod() {
        return payMethod;
    }

    public void setPayMethod(int payMethod) {
        this.payMethod = payMethod;
    }

    public int getPayAccount() {
        return payAccount;
    }

    public void setPayAccount(int payAccount) {
        this.payAccount = payAccount;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getUnitCode() {
        return unitCode;
    }

    public void setUnitCode(String unitCode) {
        this.unitCode = unitCode;
    }

    public Date getActualPayTime() {
        return actualPayTime;
    }

    public void setActualPayTime(Date actualPayTime) {
        this.actualPayTime = actualPayTime;
    }

    public String getPaperStatus() {
        return paperStatus;
    }

    public void setPaperStatus(String paperStatus) {
        this.paperStatus = paperStatus;
    }

    public String getPaperCom() {
        return paperCom;
    }

    public void setPaperCom(String paperCom) {
        this.paperCom = paperCom;
    }

    public String getPaperAddress() {
        return paperAddress;
    }

    public void setPaperAddress(String paperAddress) {
        this.paperAddress = paperAddress;
    }

    public String getPaperUnitCode() {
        return paperUnitCode;
    }

    public void setPaperUnitCode(String paperUnitCode) {
        this.paperUnitCode = paperUnitCode;
    }

    public String getPaperTel() {
        return paperTel;
    }

    public void setPaperTel(String paperTel) {
        this.paperTel = paperTel;
    }

    public String getPaperBank() {
        return paperBank;
    }

    public void setPaperBank(String paperBank) {
        this.paperBank = paperBank;
    }

    public BigDecimal getPaperedNumber() {
        return paperedNumber;
    }

    public void setPaperedNumber(BigDecimal paperedNumber) {
        this.paperedNumber = paperedNumber;
    }

    public String getPaperAccount() {
        return paperAccount;
    }

    public void setPaperAccount(String paperAccount) {
        this.paperAccount = paperAccount;
    }
}